str = [421, 443, 248, 517, 546, 58 ,203, 472, 542, 555, 323, 447, 475, 580 ,195, 154,
       454, 33, 269, 370, 565, 129, 547, 225, 36, 520,
       529, 139, 480, 208, 461, 301, 51, 109, 218, 565]
fts = 0
for i in str :
    fts = ((i - 32)*5)/9
    print(round(fts),end = ' ')